//对外暴露一个函数
//存储token
export const setToken = (token) => {
    localStorage.setItem('TOKEN', token);
};
//读取token
export const getToken = () => {
    return localStorage.getItem('TOKEN');
};
//清除本地存储的token
export const removeToken = () => {
    localStorage.removeItem("TOKEN");
}